package com.futureweaver.mapper;

import com.futureweaver.domain.Employee;
import com.futureweaver.request.vo.LoginVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper {
    public Employee queryByUsernameAndPassword(LoginVO vo);

    public Employee queryByUsername(String username);

    public List<Employee> queryByDepartment(@Param("departmentId") String departmentId,
                                            @Param("departmentNo") String departmentNo);

    public List<Employee> queryByDeptIdAndLevelId(
            @Param("deptId") String deptId,
            @Param("levelId") String levelId);
}
